package ink.ykb.entity;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/* 
* 
* gen by beetlsql 2017-12-20
*/
@ApiModel(value = "User",description = "用户")
public class User implements Serializable {
	
	private static final long serialVersionUID = -8548722610287071619L;
	
	@ApiModelProperty(value="主键")
	private Integer id ;
	@ApiModelProperty(value="部门主键")
	private Integer departmentId ;
	@ApiModelProperty(value="姓名")
	private String name ;
	@ApiModelProperty(value="创建时间")
	private Date createTime ;
	
	public User() {
	}
	
	public Integer getId(){
		return  id;
	}
	public void setId(Integer id ){
		this.id = id;
	}
	
	public Integer getDepartmentId(){
		return  departmentId;
	}
	public void setDepartmentId(Integer departmentId ){
		this.departmentId = departmentId;
	}
	
	/**名称
	*@return 
	*/
	public String getName(){
		return  name;
	}
	/**名称
	*@param  name
	*/
	public void setName(String name ){
		this.name = name;
	}
	
	/**创建时间
	*@return 
	*/
	public Date getCreateTime(){
		return  createTime;
	}
	/**创建时间
	*@param  createTime
	*/
	public void setCreateTime(Date createTime ){
		this.createTime = createTime;
	}
	

}
